<template>
  <div class="appBox">
    <div class="box-obj">
      <iframe  :src="url" frameborder="0" class="itm" style="width: 375px; min-height: 667px"></iframe>
    </div>
  </div>
</template>

<script>
export default {
  props: ['url'] // 比如传入 url="/mobile"
}
</script>

<style scoped lang="scss">
.appBox {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  .box-obj {
    width: 375px;
    height: 667px;
    overflow-y: scroll;
    box-sizing: border-box;

    &::-webkit-scrollbar {
      width: 0;
    }
  }
}

</style>
